package com.database.model.vo;

import com.database.model.Order;

/**
 * 订单
 * 
 * @author haiqiang
 *
 */
public class OrderVo {

	private Integer orderId;
	private Integer userId;
	private Integer shopId;
	private Integer staffId;
	private String time;
	private Integer grade;
	private String status;
	private double totalPrice;
	private String address;
	
	private String shopName;
	private String staffName;
	private String contact;

	public OrderVo() {

	}

	public OrderVo(Order orderParam) {
		orderId = orderParam.getOrderId();
		userId = orderParam.getUserId();
		shopId = orderParam.getShopId();
		staffId = orderParam.getStaffId();
		time = orderParam.getTime();
		grade = orderParam.getGrade();
		status = orderParam.getStatus();
		totalPrice = orderParam.getTotalPrice();
		address = orderParam.getAddress();
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Integer getStaffId() {
		return staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

}